package org.apache.dolphinscheduler.api.dto;

import java.util.Date;

public class MonitorDto {

    private double cpuUsage;
    private double memoryUsage;
    private double loadAverage;
    private int workerWaitingTaskCount;
    private double reservedMemory;
    private Date createTime;
    private String serverStatus;
    private int port;

    private int isVirtual;

    private String gpuInfos;

    public int getIsVirtual() {
        return isVirtual;
    }

    public void setIsVirtual(int isVirtual) {
        this.isVirtual = isVirtual;
    }

    public String getGpuInfos() {
        return gpuInfos;
    }

    public void setGpuInfos(String gpuInfos) {
        this.gpuInfos = gpuInfos;
    }

    private String hostName;
    private int cpuNum;
    private Long memorySize;
    private String architecture;
    private Long systemTotal;
    private Long systemUsed;
    private Long dataTotal;
    private Long dataUsed;

    public double getCpuUsage() {
        return cpuUsage;
    }

    public void setCpuUsage(double cpuUsage) {
        this.cpuUsage = cpuUsage;
    }

    public double getMemoryUsage() {
        return memoryUsage;
    }

    public void setMemoryUsage(double memoryUsage) {
        this.memoryUsage = memoryUsage;
    }

    public double getLoadAverage() {
        return loadAverage;
    }

    public void setLoadAverage(double loadAverage) {
        this.loadAverage = loadAverage;
    }

    public int getWorkerWaitingTaskCount() {
        return workerWaitingTaskCount;
    }

    public void setWorkerWaitingTaskCount(int workerWaitingTaskCount) {
        this.workerWaitingTaskCount = workerWaitingTaskCount;
    }

    public double getReservedMemory() {
        return reservedMemory;
    }

    public void setReservedMemory(double reservedMemory) {
        this.reservedMemory = reservedMemory;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getServerStatus() {
        return serverStatus;
    }

    public void setServerStatus(String serverStatus) {
        this.serverStatus = serverStatus;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public int getCpuNum() {
        return cpuNum;
    }

    public void setCpuNum(int cpuNum) {
        this.cpuNum = cpuNum;
    }

    public Long getMemorySize() {
        return memorySize;
    }

    public void setMemorySize(Long memorySize) {
        this.memorySize = memorySize;
    }

    public String getArchitecture() {
        return architecture;
    }

    public void setArchitecture(String architecture) {
        this.architecture = architecture;
    }

    public Long getSystemTotal() {
        return systemTotal;
    }

    public void setSystemTotal(Long systemTotal) {
        this.systemTotal = systemTotal;
    }

    public Long getSystemUsed() {
        return systemUsed;
    }

    public void setSystemUsed(Long systemUsed) {
        this.systemUsed = systemUsed;
    }

    public Long getDataTotal() {
        return dataTotal;
    }

    public void setDataTotal(Long dataTotal) {
        this.dataTotal = dataTotal;
    }

    public Long getDataUsed() {
        return dataUsed;
    }

    public void setDataUsed(Long dataUsed) {
        this.dataUsed = dataUsed;
    }
}
